package com.bounds.dao;

import java.util.List;
import com.bounds.entity.Person;
import com.bounds.entity.Pager;

public interface PersonDao {

	public List<Person> qryPersons(Person person);
	
	public Pager<Person> qryPersonsForPager(Person person,int pageNo,int pageSize);
	
	public int addPerson(Person person);
	
	public int deletePerson(int id);
	
	public boolean updatePerson(Person person);
	
	public boolean insertBatch(List<Person> persons);
	
	public Person getPerson(Person person);
	
	public Person getPersonById(int id);
}
